package com.tencent.wxpay.imagefacesign;

import android.app.Application;

import com.tencent.xinyapayface.facePay.FacePayCtr;
import com.tencent.xinyapayface.util.LogUtil;


/**
 * Created by admin on 2018/4/27.
 */

public class IFSApplication extends Application{

    @Override
    public void onCreate() {
        super.onCreate();
//        new FacePayCtr(this). init("wxf7b6d184a43df017","1518224761","1524634321","DA972A01AF441581");
        FacePayCtr facePayCtr = new FacePayCtr(this);
        facePayCtr.setIsTest(true);
        facePayCtr.init("170705950000003", "", "DA972A01AF441581", new FacePayCtr.OnInitResultListener() {
            @Override
            public void success() {
                LogUtil.LogShitou("IFSApplication--success", "初始化成功");
            }

            @Override
            public void fail() {
                LogUtil.LogShitou("IFSApplication--fail", "初始化失败");
            }
        });
    }

}
